package com.coderush.admin.sys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coderush.admin.sys.model.dto.EmpSearchDto;
import com.coderush.admin.sys.model.entity.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.coderush.admin.sys.model.vo.EmployeePageVo;
import org.apache.ibatis.annotations.Param;

/**
* @author Administrator
* @description 针对表【sys_employee(员工信息表)】的数据库操作Mapper
* @createDate 2025-08-18 10:21:09
* @Entity com.stellarforce.admin.sys.model.entity.Employee
*/
public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee getEmployeeByLoginName(String loginName);

    Employee getEmployeeByPhone(String phoneNumber);

    Page<EmployeePageVo> findByPage(@Param("page") Page<EmployeePageVo> page, EmpSearchDto empSearchDto);
}




